package com.movitech.mobile.cz.base.supplier.service.impl;

import com.movitech.mobile.cz.base.supplier.entity.SSuppliersInspectionTmpl;
import com.movitech.mobile.cz.base.supplier.entity.ext.ExtSSuppliersInspectionTmpl;
import com.movitech.mobile.cz.base.supplier.mapper.SSuppliersInspectionTmplMapper;
import com.movitech.mobile.cz.base.supplier.mapper.ext.ExtSSuppliersInspectionTmplMapper;
import com.movitech.mobile.cz.base.supplier.service.SSuppliersInspectionTmplService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 供方考察报告-考察分项评审意见模板 服务实现类
 * </p>
 *
 * @author Movitech Mobile
 * @since 2018-08-31
 */
@Service
public class SSuppliersInspectionTmplServiceImpl extends ServiceImpl<SSuppliersInspectionTmplMapper, SSuppliersInspectionTmpl> implements SSuppliersInspectionTmplService {
    @Autowired
    private ExtSSuppliersInspectionTmplMapper extSSuppliersInspectionTmplMapper;
    @Override
    public List<ExtSSuppliersInspectionTmpl> selectParentAndChildsByCId(String cid) {
        return extSSuppliersInspectionTmplMapper.selectParentAndChildsByCid(cid);
    }
}

